package com.haiya.observer.bellcase;

import java.util.EventObject;

public class RingEvent extends EventObject {
    /**
     * 铃声:
     *  - 上课
     *  - 下课
     */
    private String sound;

    public RingEvent(Object source, String sound) {
        super(source);
        this.sound = sound;
    }

    public String getSound() {
        return sound;
    }

    public void setSound(String sound) {
        this.sound = sound;
    }
}
